﻿<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="width=device-width" />
        <title>@ViewBag.Title</title>
        <link rel="stylesheet" href="/content/bootstrap.css" />
        <link rel="stylesheet" href="/content/font-awesome.css" />
        <link rel="stylesheet" href="/content/example.css" />
        <style>
            body {
                padding: 60px 40px 40px;
            }
        </style>
    </head>
    <body>
        <div class="navbar navbar-fixed-top">
          <div class="navbar-inner">
                <div style="padding: 0 40px" class="container-fluid">
                    <a class="brand" href="/">Example</a>
                    <ul class="nav">
                    </ul>
                    <ul class="nav pull-right">
                        @if (User.Identity.IsAuthenticated)
                        {
                            @Html.NavigationLink(User.Identity.Name, "edit", "account")
                            @Html.NavigationLink("Log out", "logout", "account")
                        }
                        else
                        {
                            @Html.NavigationLink("Register", "register", "account")
                            @Html.NavigationLink("Log in", "login", "account")
                        }
                    </ul>
                </div>
            </div>
        </div>
        @RenderBody()
        <script src="/scripts/bootstrap.js"></script>
        @RenderSection("scripts", required: false)
    </body>
</html>
